"use client";
import React, { ReactNode } from "react";
import "./index.scss";

interface PeopleItemProps {
  label: ReactNode;
  children?: ReactNode;
  className?: string;
}

const PeopleItem: React.FC<PeopleItemProps> = ({
  label,
  children,
  className = "",
}) => {
  return (
    <div className={`item ${className}`}>
      <div className="label">{label}</div>
      {children}
    </div>
  );
};

export default PeopleItem;
